<?php	class index extends common{	//主页控制器		public function ac_index(){			$indexModel = $this->model("indexm");			//首页推荐列表			$tarc = $indexModel->getArclist(1,5,'hot');			$toparticle = $indexModel->getArticle('23');			$this->assign('toparticle',$toparticle);			$this->assign('tarc',$tarc);			$this->SetTemplate($GLOBALS['atwap']['sets']['index_template']);			$this->display();		}		}